#ifndef __KHELPERMAINWINDOW_H__
#define __KHELPERMAINWINDOW_H__
//#include <QtGui\QApplication>
#include <QWidget>
//#include <QToolButton>
//#include <QPushButton>
#include <QLabel>
#include "brightness_clock.h"

class QPushButton;

class KHelperMainWindow : public QWidget
{
    Q_OBJECT

public:
    KHelperMainWindow(QWidget *parent = 0);
	~KHelperMainWindow();

protected:


private slots:
	void mainCloseBtnTriggered();
 //   void iconActivated(QSystemTrayIcon::ActivationReason reason);

private:

	void mousePressEvent(QMouseEvent *event);
	void mouseReleaseEvent(QMouseEvent *event);
	void mouseMoveEvent(QMouseEvent *event);

	KBrightnessClock *m_brightnessBtn;

	QLabel *m_mainWindowTitleLabel;

	QPushButton *m_restRemindBtn;
	QPushButton *m_mainSetBtn;
	QPushButton *m_mainCloseBtn;

	QPoint m_movePoint;
	bool m_mousePress;
//	QToolButton *m_mainCloseBtn;

/*	void createActions();
    void createTrayIcon();
    QAction *minimizeAction;
    QAction *maximizeAction;
    QAction *restoreAction;
    QAction *quitAction;

    QSystemTrayIcon *m_systemTrayIcon;
    QMenu *trayIconMenu;
	*/
};


#endif
